package com.swz.dcrm.model;

import com.google.gson.annotations.SerializedName;
import com.swz.dcrm.util.Constant;

public class CarBrand {


    /**
     * id : 1186181712887771138
     * name : 凯迪拉克
     * code : 102
     * initials : K
     * logo : http://pic1.jisuapi.cn/car/static/images/logo/300/102.png
     * isRecommend : true
     * createTime : 2019-10-21 15:25:33
     * updateTime : 2019-10-21 15:25:33
     */

    @SerializedName("ppinpaiId")
    private long id;
    @SerializedName("ppinpai")
    private String name;
    private int code;
    @SerializedName("pshouzimu")
    private String initials;
    @SerializedName("ppinpaiLogo")
    private String logo;

    private boolean isRecommend;
    private String createTime;
    private String updateTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInitials() {
        return initials;
    }

    public void setInitials(String initials) {
        this.initials = initials;
    }

    public String getLogo() {
        return Constant.OSS_URL+logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public boolean isIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(boolean isRecommend) {
        this.isRecommend = isRecommend;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
